#!/usr/bin/env python3
# -*- coding: utf-8 -*-

from dragon.locatordetail import LocatorDetail

class EarlyTradePage:
    searchInput = LocatorDetail('input.searchInput', '搜索框')
    calendarButton= LocatorDetail('span.right-time','日历按钮')
    top3PlateButton=LocatorDetail('p.scrollbar-demo-item.cp','前三板块按钮')
    openVolumeSortButton=LocatorDetail('开盘量','开盘量排序按钮','text')
    auctionSortButton=LocatorDetail('竞/流','竞/流排序按钮','text')
    openVolumeSortIcon=LocatorDetail('div.sort>div:nth-child(2)>div>svg>use','开盘量排序图标')

    auctionSortIcon=LocatorDetail('div.sort>div:nth-child(3)>div>svg>use','竞/流排序图标')
    stockBlock=LocatorDetail('li.infinite-list-item','股票展示块')
    stockName=LocatorDetail('li.infinite-list-item>div>div:nth-child(1)>span','股票名称')
    noDataAlert = LocatorDetail('div.empty-text', '空数据提示')
    openVolume = LocatorDetail('li.infinite-list-item>div>div:nth-child(2)', '开盘量')
    auction=LocatorDetail('li.infinite-list-item>div>div:nth-child(3)','竞/流')



